package org.example.javademo.test08.demo3;

/**
 * 防盗门
 * @author gwf
 * @date 2025-03-04
 */
public class SecurityDoor extends Door implements AntiBells {
    public void open(){
        System.out.println("防盗门打开,响铃警告!");
    }
    public void close(){
        System.out.println("防盗门关闭!");
    }
    @Override
    public void antiBells() {
        System.out.println("防盗门发出警报声!");
    }

}
